/**
 * All rights reserved by www.xandroid.cn
 */
package xfok.net.xandroid.examples;

import xfok.net.xandroid.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;

/**
 * @author YangHua
 *  转载请注明出处：http://www.xfok.net/android/200911/2.html
 * 2009-11-5 www.xandroid.cn 
 */
public class Dialog extends Activity {
	protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);   
        requestWindowFeature(Window.FEATURE_LEFT_ICON);   
        setContentView(R.layout.dialog);       
        getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, 
                android.R.drawable.ic_dialog_alert);
    }
}
